package com.hucc.api.repository;

import com.hucc.api.domain.entity.Project;
import com.hucc.api.domain.res.ProjectRes;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProjectMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Project record);

    int insertSelective(Project record);

    Project selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKeyWithBLOBs(Project record);

    int updateByPrimaryKey(Project record);

    List<Project> getAll();

    List<Project> getByName(@Param("name") String name);
}